import mongoose from "mongoose";

const aliSchema = new mongoose.Schema({
  name: {
    type: String,
    required: [true, 'please provide data name']
  },
  url: {
    type: String,
    required: [true, 'please provide data url']
  },
  description: {
    type: String,
  },
  tags: {
    type: Array,
  }

}, { timestamps: true })


const AliCloud = mongoose.model('AliCloud', aliSchema);

export { AliCloud };